<!DOCTYPE html>
<html>
	<head>
		<title>立即购买</title>
		<meta charset="utf-8">
		<link rel="stylesheet" type="text/css" href="/bower_components/bootstrap/dist/css/bootstrap.css">
    <link type="text/css" rel="stylesheet" href="/styles/head_foot.css">
		<link rel="stylesheet" type="text/css" href="/styles/common.css">
		<link rel="stylesheet" type="text/css" href="/styles/public.css">
		<script type="text/javascript" src="/bower_components/jquery/dist/jquery.min.js"></script>
		<script type="text/javascript" src="/bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
	</head>
<body>
<% include header.ejs %>
		<!-- -------------------导航结束---------------------- -->
		<div class="container">
			<div class="breadcrumbs">
				<a href="/"><b>首页</b></a>&nbsp;>&nbsp;<a href="">鲜花</a>&nbsp;>&nbsp;<span class="text-primary">晴朗</span>
			</div>
			<!----------------------------- 商品轮播图-------------------------------------- -->
			<div class="product-wrapper">
				<div class="product-l">
				<!-- 商品图片 -->
					<div class="pro-preview">
						<div id="fl"><img src="<%=buy.img%>"></div>
					</div>
				</div>
				<div class="product-r">
					<div class="title">
						<h3 class="product-title"><%=buy.abstract%></h3>
						<p class="product-subtitle"></p>
					</div>
					<div class="attribute">
						<dl>
							<dt>订单详情：</dt>
							<dd>
							鲜花编号[9012174]
							材 料：香槟玫瑰11枝，向日葵2枝，绿色桔梗5枝，绿色小菊3枝，叶上花3枝。
							包 装：内层雪梨纸，外层英文报纸，拉菲草花结。
							花 语：你的心，蔚蓝得，温暖得，透出了光芒；宇宙里，陨落的，失踪的，天使又歌唱。月光找到了海洋，生命找来了时光。
							附 送：免费附送精美贺卡，代写您的祝福。(您下单时可填写留言栏)
							配 送：全国（可配送至全国1000多城市，市区免配送费）
							</dd>
						</dl>
					</div>

					
					<div class="btn-buy">
						<a href="/fillOrder?id=<%=buy.id%>" class="btn btn-primary btn-lg" id="Btn_AddToCart"><span class="ico ico-cart-white"></span>立即购买</a>
						<form action="/doshopping" method="POST" class="pull-right">
							<input type="hidden" name="id" value="<%=buy.id%>">
							<input type="hidden" name="abstract" value="<%=buy.abstract%>">
							<input type="hidden" name="price" value="<%=buy.price%>">
							<button type="button" class="btn btn-primary btn-lg" id="submit"><span class="ico ico-cart-white"></span>加入购物车</button>
						</form>
						<a href="/shopping" class="pull-right"><img src="images/shopping.png" height="35" id="shopping_icon"><span class="badge"><%=shopping_num%></span></a>
						<a href="" class="btn btn-link" id="Btn_GuanZhu"><span class="ico ico-heart"></span>关 注</a>
					</div>
					<div class="share">
						分享：
						<div class="bdsharebuttonbox" data-tag="share_1">
							<a class="bds_mshare" data-cmd="mshare"></a><a class="bds_sqq" data-cmd="sqq"></a>
							<a class="bds_weixin" data-cmd="weixin"></a><a class="bds_tsina" data-cmd="tsina"></a>
							<a class="bds_baidu" data-cmd="baidu"></a><a class="bds_tqq" data-cmd="tqq"></a><a class="bds_more" data-cmd="more">更多</a>
						</div>
					</div>
				</div>
			</div>
	    <!-- 商品 End -->



			<div class="wrapper">
				<div class="pull-left w970 l230">
				<!-- 商品详情 -->
					<ul id="Tabs" class="tabs">
						<li class="tabs-item active"><a href="#Details">商品详情</a></li>
						<li class="tabs-item"><a href="#Comment">用户评价</a></li>
						<li class="tabs-item"><a href="#Photo">订单实拍</a></li>
						<li class="tabs-item"><a href="#Story">送花故事</a></li>
						<li class="tabs-item"><a href="#Server">购物保障</a></li>
						<li class="btn-buy-s" style="position:relative;display:none;">
							<div class="price" style="font-size:24px;">
								<span class="price-sign" style="font-size:15px;">&yen;</span>
								<span class="price-num" id="goods_detail_float_price"></span>
							</div>
							<a style="font-size: 20px;width: 170px;height: 39px;margin-top: -9px;padding-left:35px;padding-right:10px" href="" class="btn btn-primary btn-sm" id="goods_detail_float_addtocart">立即购买</a>
							<span class="ico ico-cart-white" style="position: absolute;right:120px;top:7px;"></span>
						</li>
					</ul>
					<div id="Details" class="tabs-panel">
						<p>&nbsp;</p>
						<p><img src="http://img01.hua.com/uploadpic/images/20173101452293239535.jpg" alt="" border="0" /></p>
						<p>&nbsp;</p>
						<p><img src="http://img01.hua.com/uploadpic/images/20173101452366122210.jpg" alt="" border="0" /></p>
						<p>&nbsp;</p>
						<p><img src="http://img01.hua.com/uploadpic/images/20173101452465022616.jpg" alt="" border="0" /></p>
						<p>&nbsp;</p>
						<p><a href="" target="_blank"><img src="http://img01.hua.com/uploadpic/images/2017310145326980655.jpg" alt="" border="0" /></a><a href="" target="_blank"></a><a href="" target="_blank"></a><a href="" target="_blank"></a></p>
						<br />
						<img src="http://img02.hua.com/pc/images/cardstyle.jpg" alt="附送贺卡" border="0" />
					</div>
					<!-- 商品详情 End -->
					<!-- 用户评价 -->
					<ul class="tabs">
						<li><a href="#Details">商品详情</a></li>
						<li class="active"><a href="#Comment">用户评价</a></li>
						<li><a href="#Photo">订单实拍</a></li>
						<li><a href="#Story">送花故事</a></li>
						<li><a href="#Server">购物保障</a></li>
					</ul>

					<div id="Comment" class="tabs-panel">
						<div class="comment-bd">
							<div align="center"><font color="#999999">本商品评价<font color="red" id="curTotal"></font>条，最近所有商品评价<font color="red" id="TotalPL"></font>条</font><br /><br /></div>
							<dl>
								<dt>
									<a href=""><img src="http://img01.hua.com/uploadpic/newpic/9012174.jpg_80x87.jpg" height="63" width="58"></a>
									1522811*<br />
									北京天坛*
								</dt>
								<dd>
									<div class="hd">
										<span class="pull-right">评价时间：2017-03-19  IP：117.177.28.1*</span>
										整体评分：
										<img src="http://img02.hua.com/pc/member/images/review_img/review_star_fen.gif" align="absmiddle" />
										<img src="http://img02.hua.com/pc/member/images/review_img/review_star_fen.gif" align="absmiddle" />
										<img src="http://img02.hua.com/pc/member/images/review_img/review_star_fen.gif" align="absmiddle" />
										<img src="http://img02.hua.com/pc/member/images/review_img/review_star_fen.gif" align="absmiddle" />
										<img src="http://img02.hua.com/pc/member/images/review_img/review_star_fen.gif" align="absmiddle" />
									</div>
									<div class="bd">
										<h6></h6>
										<p class="text-justify">评价内容：很好，很满意！</p>
									</div>
								</dd>
							</dl>
						</div>
						<div class="comment-ft">
							<span>
								&nbsp;本商品评价<font color="red">1</font>条&nbsp;【<a target="_blank" href="" title="查看本商品所有评价" class="color_hong2">查看本商品全部评价</a>】
							</span>
							&nbsp;【<a href="/productpj/" target="_blank" title="查看所有商品评价" class="color_hong2">查看所有商品评价</a>】
						</div>
					</div>
					<!-- 用户评价 End -->
					<!-- 订单实拍 -->
					<ul class="tabs">
						<li><a href="#Details">商品详情</a></li>
						<li><a href="#Comment">用户评价</a></li>
						<li class="active"><a href="#Photo">订单实拍</a></li>
						<li><a href="#Story">送花故事</a></li>
						<li><a href="#Server">购物保障</a></li>
					</ul>

					<div id="Photo" class="tabs-panel">
						<p class="bg-warning">我们提供数十个城市的订单实拍展示，让您真是感知订单的制作效果。照片由各地连锁店配送前拍取，只求真实，未做修饰，图片在光线，角度，背景等方面的瑕疵在所难免。我们花艺师深知没有最好，只有更好，一直致力于用心制作更具气质的花礼。我们提供数十个城市的订单实拍展示，让您真是感知订单的制作效果。照片由各地连锁店配送前拍取，只求真实，未做修饰，图片在光线，角度，背景等方面的瑕疵在所难免。我们花艺师深知没有最好，只有更好，一直致力于用心制作更具气质的花礼。我们提供数十个城市的订单实拍展示，让您真是感知订单的制作效果。照片由各地连锁店配送前拍取，只求真实，未做修饰，图片在光线，角度，背景等方面的瑕疵在所难免。我们花艺师深知没有最好，只有更好，一直致力于用心制作更具气质的花礼。</p>
					</div>
					<!-- 订单实拍 End -->
					<!-- 送花故事 -->
					<ul class="tabs">
						<li><a href="#Details">商品详情</a></li>
						<li><a href="#Comment">用户评价</a></li>
						<li><a href="#Photo">订单实拍</a></li>
						<li class="active"><a href="#Story">送花故事</a></li>
						<li><a href="#Server">购物保障</a></li>
					</ul>
					<div id="Story" class="tabs-panel">
						<p class="bg-warning">我们提供数十个城市的订单实拍展示，让您真是感知订单的制作效果。照片由各地连锁店配送前拍取，只求真实，未做修饰，图片在光线，角度，背景等方面的瑕疵在所难免。我们花艺师深知没有最好，只有更好，一直致力于用心制作更具气质的花礼。我们提供数十个城市的订单实拍展示，让您真是感知订单的制作效果。照片由各地连锁店配送前拍取，只求真实，未做修饰，图片在光线，角度，背景等方面的瑕疵在所难免。我们花艺师深知没有最好，只有更好，一直致力于用心制作更具气质的花礼。我们提供数十个城市的订单实拍展示，让您真是感知订单的制作效果。照片由各地连锁店配送前拍取，只求真实，未做修饰，图片在光线，角度，背景等方面的瑕疵在所难免。我们花艺师深知没有最好，只有更好，一直致力于用心制作更具气质的花礼。</p>
					</div>
					<!-- 送花故事 End -->
					<!-- 购物保障 -->
					<ul class="tabs">
						<li><a href="#Details">商品详情</a></li>
						<li><a href="#Comment">用户评价</a></li>
						<li><a href="#Photo">订单实拍</a></li>
						<li><a href="#Story">送花故事</a></li>
						<li class="active"><a href="#Server">购物保障</a></li>
					</ul>
					<div id="Server" class="tabs-panel">
						<ul class="tab-indicators">
							<li class="active"><a href="#serverPane01"><span class="ico ico-server-go1"></span>十年品牌</a></li>
							<li><a href="#serverPane02"><span class="ico ico-server-go2"></span>销量第一</a></li>
							<li><a href="#serverPane03"><span class="ico ico-server-go3"></span>百万客户信赖</a></li>
							<li><a href="#serverPane04"><span class="ico ico-server-go4"></span>订单实拍</a></li>
							<li><a href="#serverPane05"><span class="ico ico-server-go5"></span>3小时配送</a></li>
							<li><a href="#serverPane06"><span class="ico ico-server-go6"></span>200%退赔承诺</a></li>
						</ul>
						<div class="tab-content">
							<div class="tab-pane fade in active" id="serverPane01">
								<img src="http://img02.hua.com/pc/pimg/server_01.jpg" height="350" width="910">
							</div>
							<div class="tab-pane fade" id="serverPane02">
								<img src="http://img02.hua.com/pc/pimg/server_02.jpg" height="350" width="910">
							</div>
							<div class="tab-pane fade" id="serverPane03">
								<img src="http://img02.hua.com/pc/pimg/server_03.jpg" height="350" width="910">
							</div>
							<div class="tab-pane fade" id="serverPane04">
								<img src="http://img02.hua.com/pc/pimg/server_04.jpg" height="350" width="910">
							</div>
							<div class="tab-pane fade" id="serverPane05">
								<img src="http://img02.hua.com/pc/pimg/server_05.jpg" height="350" width="910">
							</div>
							<div class="tab-pane fade" id="serverPane06">
								<img src="http://img02.hua.com/pc/pimg/server_06.jpg" height="350" width="910">
							</div>
						</div>
					</div>
					<!-- 购物保障 End -->
				</div>
				<div class="pull-left w210 r970">
					<!-- 热销推荐 -->
					<div class="panel panel-info">
						<div class="panel-heading">
							<h3 class="panel-title">热销推荐</h3>
						</div>
						<div class="panel-body">
						<!-- 侧边商品 -->
							<div class="side-item">
								<div class="img-box">
									<a href="" target="_blank"><img src="http://img01.hua.com/uploadpic/newpic/4010001.jpg_220x240.jpg" width="180" height="196" alt="定时服务费"></a>
								</div>
								<div class="info-cont">
									<div class="title">
										<a href="" class="product-title">鲜花/定时服务费-</a>
									</div>
									<div class="price">
										<span class="price-sign">&yen;</span>
										<span class="price-num">30</span>
									</div>
								</div>
							</div>
							<div class="side-item">
								<div class="img-box">
									<a href="" target="_blank"><img src="http://img01.hua.com/uploadpic/newpic/9012167.jpg_220x240.jpg" width="180" height="196" alt="爱的小确幸"></a>
								</div>
								<div class="info-cont">
									<div class="title">
										<a href="" class="product-title">鲜花/爱的小确幸-戴安娜粉玫瑰21枝，粉色桔梗5枝，石竹梅7枝</a>
									</div>
									<div class="price">
										<span class="price-sign">&yen;</span>
										<span class="price-num">298</span>
									</div>
								</div>
							</div>
							<div class="side-item">
								<div class="img-box">
									<a href="" target="_blank"><img src="http://img01.hua.com/uploadpic/newpic/9012175.jpg_220x240.jpg" width="180" height="196" alt="月光女神"></a>
								</div>
								<div class="info-cont">
									<div class="title">
										<a href="" class="product-title">鲜花/月光女神-白玫瑰11枝，绿色桔梗5枝，小菊3枝，白色石竹梅4枝</a>
									</div>
									<div class="price">
										<span class="price-sign">&yen;</span>
										<span class="price-num">228</span>
									</div>
								</div>
							</div>
							<div class="side-item">
								<div class="img-box">
									<a href="" target="_blank"><img src="http://img01.hua.com/uploadpic/newpic/3010003.jpg_220x240.jpg" width="180" height="196" alt="德芙心语98克铁盒或109克礼盒"></a>
								</div>
								<div class="info-cont">
									<div class="title">
										<a href="" class="product-title">鲜花/德芙心语98克铁盒或109克礼盒-德芙品牌巧克力</a>
									</div>
									<div class="price">
										<span class="price-sign">&yen;</span>
										<span class="price-num">68</span>
									</div>
								</div>
							</div>
							<div class="side-item">
								<div class="img-box">
									<a href="" target="_blank"><img src="http://img01.hua.com/uploadpic/newpic/9010943.jpg_220x240.jpg" width="180" height="196" alt="黑夜之光"></a>
								</div>
								<div class="info-cont">
									<div class="title">
										<a href="" class="product-title">鲜花/黑夜之光-红色玫瑰11枝，满天星</a>
									</div>
									<div class="price">
										<span class="price-sign">&yen;</span>
										<span class="price-num">138</span>
									</div>
								</div>
							</div>
							<div class="side-item">
								<div class="img-box">
									<a href="" target="_blank"><img src="http://img01.hua.com/uploadpic/newpic/9010964.jpg_220x240.jpg" width="180" height="196" alt="天使之祈"></a>
								</div>
								<div class="info-cont">
									<div class="title">
										<a href="" class="product-title">鲜花/天使之祈-精品康乃馨礼盒,粉色康乃馨19枝，勿忘我适量</a>
									</div>
									<div class="price">
										<span class="price-sign">&yen;</span>
										<span class="price-num">195</span>
									</div>
								</div>
							</div>

						<!-- 侧边商品 End -->
						</div>
					</div>
					<!-- 热销推荐 End -->
				</div>
			</div>
		</div>

<script type="text/javascript">//购物保障的动画效果+更多关注js

        // 固定元素+导航
        jQuery(function ($) {
            $(document).ready(function () {
                $('#Tabs').stickUp({
                    parts: {
                        0: 'Details',
                        1: 'Comment',
                        2: 'Photo',
                        3: 'Story',
                        4: 'Server'
                    },
                    itemClass: 'tabs-item',
                    itemHover: 'active'
                });
            });
        });
        // 购物保障tab
        $('.tab-indicators a').hover(function (e) {
            e.preventDefault()
            $(this).tab('show')
        })

        function request(paras) {
            var url = location.href;
            var paraString = url.substring(url.indexOf("?") + 1, url.length).split("&");
            var paraObj = {}
            for (i = 0; j = paraString[i]; i++) {
                paraObj[j.substring(0, j.indexOf("=")).toLowerCase()] = j.substring(j.indexOf("=") + 1, j.length);
            }
            var returnValue = paraObj[paras.toLowerCase()];
            if (typeof (returnValue) == "undefined") {
                return "";
            } else {
                return returnValue;
            }
        }

        $(function () {
            var priceURL, addToCartURL;
            var types = request("type").toLowerCase()
            priceURL = "/product/pricewx/?rmd="+Math.random();
            addToCartURL = "/shopping/AddtoCart?product_code=9012174";
            if (types.length > 1) {
                addToCartURL = "/shopping/AddtoCart?product_code=9012174&type=" + types;
            }
            $.getJSON("/Home/getLatestJson?pp=9012174&rmd=" + Math.random(), function (json) {
                var cartHtml = '';
                if (json.productsNum > 0) {
                    $.each(json.datas, function (index, data) {
                        cartHtml = cartHtml + '<div class="side-item-s"><div class="img-box"><a href="/product/' + data.productCode + '.html"><img src="http://img01.hua.com/uploadpic/newpic/' + data.productCode + '.jpg_80x87.jpg" height="56" width="50"></a></div><div class="info-cont"><a href="/product/' + data.productCode + '.html" class="product-title">' + data.productName + '</a><div class="price"><span class="price-sign">&yen;</span><span class="price-num">&nbsp; ' + data.productPrice + '</span></div></div></div>';
                    });
                }
                else { cartHtml = '<div class="side-item-s"><span>暂无浏览记录！</span></div>'; }
                $("#Latest_Record").html(cartHtml);
            });

            $.get(priceURL, { code: "9012174", type: types }, function (data) {
                $("#ajax_pricebox").html(data);
                var sell_price = $("#sell_price").val();
                var jr_sell_price = $("#jr_sell_price").val();
                var jrType = $("#jrType").val();
                var shuangjia = $("#shuangjia").val();
                var tipText = $("#tipText").val();
                var defaultJrPrice = $("#defaultJrPrice").val();

                var wxapp_price = $("#wxapp_price").val();
                var jr_wxapp_price = $("#jr_wxapp_price").val();
                var tipText = $("#tipText").val();
                //微信app专享是否显示
                if ($("#wxapp_price").length > 0 && $("#qrcode_path").length > 0) {
                    $("#wxappzx").show();
                    $("#wxapp_share_price").html("￥<strong>" + wxapp_price + "</strong>");
                    if (types.length > 0)
                    {
                        $("#wxapp_share_price").html("￥<strong>" + jr_wxapp_price + "</strong>");
                    }
                    $("#wx_qrcode").attr("src", $("#qrcode_path").val());
                }
                else {
                    $("#wxappzx").hide();
                }
                //微信app专享结束

                if (defaultJrPrice == "true") {
                    addToCartURL = "/shopping/AddtoCart?product_code=9012174&type=" + jrType;
                }

                if ($("#Prod_IsShelf").val() == "no") {
                    $("#Btn_AddToCart").attr("href", "javascript:void(0)");
                    $("#Btn_AddToCart").addClass("btn-noclick");
                    $("#Btn_AddToCart").removeClass("btn-primary");
                    $("#Btn_AddToCart").html("<span class=\"ico ico-cart-white\"></span>售罄/已下架");
                    $("#goods_detail_float_addtocart").attr("href", "javascript:void(0)");
                    $("#goods_detail_float_addtocart").html("售罄/已下架");
                } else {
                    $("#Btn_AddToCart").attr("href", addToCartURL);
                    $("#Btn_AddToCart").html("<span class=\"ico ico-cart-white\"></span>立即购买");
                    $("#goods_detail_float_addtocart").attr("href", addToCartURL);
                    $("#goods_detail_float_addtocart").html("立即购买");
                }
                if ($("#Is_Attention").val() == "yes") {
                    $("#Btn_GuanZhu").html("<span class=\"ico ico-heart\"></span>已关注");
                }

                if (shuangjia == "false" || types.length > 0) {
                    $("#ajax_pricebox").removeClass("price-wrap");
                    $("#ajax_pricebox").addClass("price");
                    if (types.length > 0) {
                        $("#goods_detail_float_price").html(jr_sell_price);
                    }
                    else {
                        $("#goods_detail_float_price").html(sell_price);
                    }
                }
                else {
                    $("#tips").show();
                    $("#tips dd").html(tipText);
                    $("#ajax_pricebox").removeClass("price");
                    $("#ajax_pricebox").addClass("price-wrap");
                    if (defaultJrPrice=="true") {
                        $("#wxapp_share_price").css("color", "#737373").html(jr_wxapp_price);
                        $("#goods_detail_float_price").html(jr_sell_price);
                        addToCartURL = "/shopping/AddtoCart?product_code=9012174&type=" + jrType;
                    }
                    else
                    {
                        $("#wxapp_share_price").css("color", "#737373").html(wxapp_price);
                        $("#goods_detail_float_price").html(sell_price);
                    }
                    var checkPrice = function (check) {
                        check.click(function () {
                            var indx = check.index(this);
                            check.removeClass('active');
                            $(this).addClass('active');
                            addToCartURL = "/shopping/AddtoCart?product_code=9012174";
                            if ($(this).attr("id") == "jr") {
                                $("#wxapp_share_price").css("color", "#737373").html(jr_wxapp_price);
                                $("#goods_detail_float_price").html(jr_sell_price);
                                addToCartURL = addToCartURL + "&type=" + jrType;
                            }
                            else {
                                $("#wxapp_share_price").css("color", "#737373").html(wxapp_price);
                                $("#goods_detail_float_price").html(sell_price);
                            }
                            $("#Btn_AddToCart").attr("href", addToCartURL);
                            $("#goods_detail_float_addtocart").attr("href", addToCartURL);
                            if ($("#Prod_IsShelf").val() == "no")
                            {
                                $("#Btn_AddToCart").attr("href", "javascript:void(0)");
                                $("#Btn_AddToCart").addClass("btn-noclick");
                                $("#Btn_AddToCart").removeClass("btn-primary");
                                $("#Btn_AddToCart").html("<span class=\"ico ico-cart-white\"></span>售罄/已下架");
                                $("#goods_detail_float_addtocart").attr("href", "javascript:void(0)");
                                $("#goods_detail_float_addtocart").html("售罄/已下架");
                            }
                        })
                    };
                    checkPrice($(".price-wrap > .price"));
                }

            });
        });

        //关注js
        $('#loginModal').modal({ backdrop: 'static', keyboard: false, show: false });
        $('#loginModal').on('shown.bs.modal', function () {
            var $this = $(this);
            var $modal_dialog = $this.find('.modal-dialog');
            $this.css('display', 'block');
            $modal_dialog.css({ 'margin-top': Math.max(0, ($(window).height() - $modal_dialog.height()) / 2) });
        });
        $('#loginModal').on('hidden.bs.modal', function () {
            $("#attPage").attr("src", "");
        });
        //关注商品
        function DoGuanZhu(pp) {
            $("#attNotice").html("关注商品");
            $('#loginModal').modal('show');
            $("#attPage").attr('src', '/shopping/winguanzhu?pp=' + pp)
        }
        //关注end

        //分享
        window._bd_share_config = {
            common: {
                bdText: '鲜花晴朗 - 花礼网 hua.com',
                bdDesc: '香槟玫瑰11枝，向日葵2枝，绿色桔梗5枝，绿色小菊3枝，叶上花3枝',
                bdUrl: 'http://www.hua.com/product/9012174.html',
                bdPic: 'http://www.hua.com/uploadpic/newpic/9012174.jpg'
            },
            share: [{
                "bdSize": 24
            }]
        }
        with (document) 0[(getElementsByTagName('head')[0] || body).appendChild(createElement('script')).src = 'http://bdimg.share.baidu.com/static/api/js/share.js?cdnversion=' + ~(-new Date() / 36e5)];
        //分享end
    </script>
    <% include footer.ejs %>
	</body>
</html>
<script type="text/javascript">
	$(function(){
		 $("#submit").click(function(){
    	$.post("doshopping",
    	{
    	id:$("input[name='id']").val(),
    	abstract:$("input[name='abstract']").val(),
    	price:$("input[name='price']").val(),
    	},
    function(response,status){
      	
      	alert('添加成功!')
    
    	 $(".badge").html(response);

    	})
    		return false;
  		});
	})
</script>